Functional assessment of the spine and lower limbs